package 第七章.test10_update_2;

import java.util.concurrent.Callable;

public class MyCallableB implements Callable<String> {

	public String call() throws Exception {
		System.out.println("MyCallableB begin " + System.currentTimeMillis());
		for (int i = 0; i < 223456; i++) {
			Math.random();
			Math.random();
			System.out.println("MyCallableB i=" + (i + 1));
		}
		System.out.println("MyCallableB   end " + System.currentTimeMillis());
		return "MyCallableBValue";
	}
}
